package com.etc.future.service.impl;


import com.etc.future.dao.IJobSeekerDao;
import com.etc.future.dao.impl.JobSeekerDaoImpl;
import com.etc.future.domain.JobSeeker;
import com.etc.future.service.IJobSeekerService;

public class JobSeekerServiceImpl implements IJobSeekerService {
   IJobSeekerDao sd= new JobSeekerDaoImpl();

    @Override
    public JobSeeker allMessage(int id) {
        return sd.allMessage(id);
    }

    @Override
    public JobSeeker jobSeekerLogin(String name, String password) {
        return sd.jobSeekerLogin(name,password);
    }

    @Override
    public int addJobSeeker(JobSeeker jobSeeker) {
        return sd.addJobSeeker(jobSeeker);
    }

    @Override
    public int jobSeekerUpdate(int jsid, String jsname, String sex, String jsemail, String jstel, String jsdate, String jslivecity, String jsheadImage) {
        return sd.jobSeekerUpdate(jsid,jsname,sex,jsemail,jstel,jsdate,jslivecity,  jsheadImage);
    }

    @Override
    public int jobSeekerResumeAdd(int jsid, String jsprovince, String jscity, String jspost, String jsedc, String jsgdate, String jsgrad, String jsmajor, String jshonor, String jsintdt) {
        return sd.jobSeekerResumeAdd(jsid,jsprovince,jscity,jspost,jsedc,jsgdate,jsgrad,jsmajor,jshonor,jsintdt);
    }
}
